package org.spring.springboot.app.hard.hardregister.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
@ApiModel(description = "设备注册")
public class HardRegisterVO {

    @ApiModelProperty(value = "设备ID", hidden = false)
    private String id;

    @ApiModelProperty(value = "设备编号", hidden = false)
    private String deviceHardId;

    @ApiModelProperty(value = "设备类型", hidden = false)
    private String deviceHardType;

    @ApiModelProperty(value = "设备标签", hidden = false)
    private String deviceHardSign;

    @ApiModelProperty(value = "设备密码", hidden = false)
    private String devicePassword;

    @ApiModelProperty(value = "创建时间",hidden = false)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date create_date;

    @ApiModelProperty(value = "设备备注", hidden = false)
    private String remarks;

    @ApiModelProperty(value = "设备二维码地址", hidden = false)
    private String twoDimensionUrl;

    public String getTwoDimensionUrl() {
        return twoDimensionUrl;
    }

    public void setTwoDimensionUrl(String twoDimensionUrl) {
        this.twoDimensionUrl = twoDimensionUrl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDeviceHardId() {
        return deviceHardId;
    }

    public void setDeviceHardId(String deviceHardId) {
        this.deviceHardId = deviceHardId == null ? null : deviceHardId.trim();
    }

    public String getDeviceHardType() {
        return deviceHardType;
    }

    public void setDeviceHardType(String deviceHardType) {
        this.deviceHardType = deviceHardType == null ? null : deviceHardType.trim();
    }

    public String getDeviceHardSign() {
        return deviceHardSign;
    }

    public void setDeviceHardSign(String deviceHardSign) {
        this.deviceHardSign = deviceHardSign == null ? null : deviceHardSign.trim();
    }

    public String getDevicePassword() {
        return devicePassword;
    }

    public void setDevicePassword(String devicePassword) {
        this.devicePassword = devicePassword == null ? null : devicePassword.trim();
    }

    public Date getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
}